package com.messe.base.models;



/**
 * PersonAppendix entity. @author MyEclipse Persistence Tools
 */

public class PersonAppendix implements java.io.Serializable {


    // Fields    

     /**
	 * 
	 */
	private static final long serialVersionUID = -1532823722828156592L;
	private Integer id;
     private Person person;
     private Integer languageType;
     private String salutation;
     private String firstname;
     private String middlename;
     private String lastname;
     private String nickname;
     private String occupation;
     private String mp;
     private String address;
    // Constructors

    /** default constructor */
    public PersonAppendix() {
    }

	/** minimal constructor */
    public PersonAppendix(Integer id, Person person, Integer languageType, String firstname, String lastname) {
        this.id = id;
        this.person = person;
        this.languageType = languageType;
        this.firstname = firstname;
        this.lastname = lastname;
    }
    
    /** full constructor */
    public PersonAppendix(Integer id, Person person, Integer languageType, String salutation, String firstname, String middlename, String lastname, String nickname, String occupation) {
        this.id = id;
        this.person = person;
        this.languageType = languageType;
        this.salutation = salutation;
        this.firstname = firstname;
        this.middlename = middlename;
        this.lastname = lastname;
        this.nickname = nickname;
        this.occupation = occupation;
    }

   
    // Property accessors

    
    public Integer getId() {
        return this.id;
    }
    
    public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public void setId(Integer id) {
        this.id = id;
    }

    public String getMp() {
		return mp;
	}

	public void setMp(String mp) {
		this.mp = mp;
	}

	public Person getPerson() {
        return this.person;
    }
    
    public void setPerson(Person person) {
        this.person = person;
    }

    public Integer getLanguageType() {
        return this.languageType;
    }
    
    public void setLanguageType(Integer languageType) {
        this.languageType = languageType;
    }

    public String getSalutation() {
        return this.salutation;
    }
    
    public void setSalutation(String salutation) {
        this.salutation = salutation;
    }

    public String getFirstname() {
        return this.firstname != null ? this.firstname : "";
    }
    
    public void setFirstname(String firstname) {
        this.firstname = firstname;
    }

    public String getMiddlename() {
        return this.middlename;
    }
    
    public void setMiddlename(String middlename) {
        this.middlename = middlename;
    }

    public String getLastname() {
    	return this.lastname != null ? this.lastname : "";
    }
    
    public void setLastname(String lastname) {
        this.lastname = lastname;
    }

    public String getNickname() {
        return this.nickname;
    }
    
    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getOccupation() {
        return this.occupation;
    }
    
    public void setOccupation(String occupation) {
        this.occupation = occupation;
    }


}